/**
 * 
 */
package com.lanswon.qzsmk.vo;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author sun
 *
 */
public class SaveOrUpdateTellerVo implements Serializable {


	 /** 用户ID */
    private Integer userId;

    /** 用户名 */
    private String userName;

    /** 编号 */
    private Integer userNo;

    /** 登录名 */
    private String loginName;

    /** 口令 */
    private String loginPassword;

    /** 性别 */
    private String gender;

    /** 生日 */
    private String birthday;
    
    /** 证件类型 */
    private String paperType;

    /** 证件号码 */
    private String paperNo;

    /** 地区 */
    private String nativeplace;

    /** 国家 */
    private String nation;

    /** 政治面貌 */
    private String politicalOutlook;

    /** 职务 */
    private String headship;

    /** 登录限制 */
    private String loginRestrict;

    /** 电话 */
    private String telephone;

    /** 传真 */
    private String fax;

    /** 邮件 */
    private String email;

    /** 照片 */
    private String photo;

    /** 简历 */
    private String resum;

    /** 状态 */
    private String status;

    /** 用户属性 */
    private String properties;

    /** 最后登录时间 */
    private Date lastLoginTime;

    /** 所属机构 */
    private Integer orgId;

    /** 所属岗位 */
    private Integer posId;

    /** 扩展字段1 */
    private String extend1;

    /** 扩展字段2 */
    private String extend2;
    
    
    // 以上是 User 信息
    // 以下是 Teller 信息
    /** 柜员号id*/
    private Integer tellerId;

    /** 所属网点编号 */
    private String branchNo;

    /** 所属部门编号 */
    private String orgNo;

    /** 上任日期 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date takepostDate;

    /** 离任日期 */
    private Date outgoingDate;

    /** 工作职责介绍 */
    private String responseDesc;

    /** 证书名称 */
    private String certName;

    /** 是否有凭证尾箱 */
    private String hasCertTrunk;

    /** 是否有现金尾箱 */
    private String hasCashBox;

    /** 签到状态 */
    private String signStatus;

    /** 轧帐状态 */
    private String checkStatus;

    /** 备注 */
    private String remark;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPassword() {
		return loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		if(loginPassword==""){
			this.loginPassword = null;
		}else{
			this.loginPassword = loginPassword;
		}
		
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getPaperType() {
		return paperType;
	}

	public void setPaperType(String paperType) {
		this.paperType = paperType;
	}

	public String getPaperNo() {
		return paperNo;
	}

	public void setPaperNo(String paperNo) {
		this.paperNo = paperNo;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getHeadship() {
		return headship;
	}

	public void setHeadship(String headship) {
		this.headship = headship;
	}

	public String getLoginRestrict() {
		return loginRestrict;
	}

	public void setLoginRestrict(String loginRestrict) {
		this.loginRestrict = loginRestrict;
	}

	public String getBranchNo() {
		return branchNo;
	}

	public void setBranchNo(String branchNo) {
		this.branchNo = branchNo;
	}

	public Date getTakepostDate() {
		return takepostDate;
	}

	public void setTakepostDate(Date takepostDate) {
		this.takepostDate = takepostDate;
	}

	public String getResponseDesc() {
		return responseDesc;
	}

	public void setResponseDesc(String responseDesc) {
		this.responseDesc = responseDesc;
	}

	public String getHasCertTrunk() {
		return hasCertTrunk;
	}

	public void setHasCertTrunk(String hasCertTrunk) {
		this.hasCertTrunk = hasCertTrunk;
	}

	public String getHasCashBox() {
		return hasCashBox;
	}

	public void setHasCashBox(String hasCashBox) {
		this.hasCashBox = hasCashBox;
	}

	public String getCertName() {
		return certName;
	}

	public void setCertName(String certName) {
		this.certName = certName;
	}

	public String getSignStatus() {
		return signStatus;
	}

	public void setSignStatus(String signStatus) {
		this.signStatus = signStatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getUserNo() {
		return userNo;
	}

	public void setUserNo(Integer userNo) {
		this.userNo = userNo;
	}

	public Integer getTellerId() {
		return tellerId;
	}

	public void setTellerId(Integer tellerId) {
		this.tellerId = tellerId;
	}
	
	public String getNativeplace() {
		return nativeplace;
	}

	public void setNativeplace(String nativeplace) {
		this.nativeplace = nativeplace;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getPoliticalOutlook() {
		return politicalOutlook;
	}

	public void setPoliticalOutlook(String politicalOutlook) {
		this.politicalOutlook = politicalOutlook;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getResum() {
		return resum;
	}

	public void setResum(String resum) {
		this.resum = resum;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getProperties() {
		return properties;
	}

	public void setProperties(String properties) {
		this.properties = properties;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getOrgId() {
		return orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}

	public Integer getPosId() {
		return posId;
	}

	public void setPosId(Integer posId) {
		this.posId = posId;
	}

	public String getExtend1() {
		return extend1;
	}

	public void setExtend1(String extend1) {
		this.extend1 = extend1;
	}

	public String getExtend2() {
		return extend2;
	}

	public void setExtend2(String extend2) {
		this.extend2 = extend2;
	}

	public String getOrgNo() {
		return orgNo;
	}

	public void setOrgNo(String orgNo) {
		this.orgNo = orgNo;
	}

	public Date getOutgoingDate() {
		return outgoingDate;
	}

	public void setOutgoingDate(Date outgoingDate) {
		this.outgoingDate = outgoingDate;
	}

	public String getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	

	/**
	 * 
	 */
	public SaveOrUpdateTellerVo() {
	}

	/**
	 * @param userName
	 * @param loginName
	 * @param loginPassword
	 */
	public SaveOrUpdateTellerVo(String userName, String loginName, String loginPassword) {
		this.userName = userName;
		this.loginName = loginName;
		this.loginPassword = loginPassword;
	}

	@Override
	public String toString() {
		return "SaveOrUpdateTellerVo [userId=" + userId + ", userName=" + userName + ", userNo=" + userNo
				+ ", loginName=" + loginName + ", loginPassword=" + loginPassword + ", gender=" + gender
				+ ", birthday=" + birthday + ", paperType=" + paperType + ", paperNo=" + paperNo + ", nativeplace="
				+ nativeplace + ", nation=" + nation + ", politicalOutlook=" + politicalOutlook + ", headship="
				+ headship + ", loginRestrict=" + loginRestrict + ", telephone=" + telephone + ", fax=" + fax
				+ ", email=" + email + ", photo=" + photo + ", resum=" + resum + ", status=" + status + ", properties="
				+ properties + ", lastLoginTime=" + lastLoginTime + ", orgId=" + orgId + ", posId=" + posId
				+ ", extend1=" + extend1 + ", extend2=" + extend2 + ", tellerId=" + tellerId + ", branchNo=" + branchNo
				+ ", orgNo=" + orgNo + ", takepostDate=" + takepostDate + ", outgoingDate=" + outgoingDate
				+ ", responseDesc=" + responseDesc + ", certName=" + certName + ", hasCertTrunk=" + hasCertTrunk
				+ ", hasCashBox=" + hasCashBox + ", signStatus=" + signStatus + ", checkStatus=" + checkStatus
				+ ", remark=" + remark + "]";
	}




}
